package com.haoshuang.zhouzhoubang.ui.adapter

import com.chad.library.adapter4.BaseQuickAdapter
import com.haoshuang.zhouzhoubang.R
import com.haoshuang.zhouzhoubang.databinding.ItemTkBinding
import com.haoshuang.zhouzhoubang.model.bean.BjBean
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter


class TkAdapter2(data: MutableList<BjBean>) :
    BaseBindingQuickAdapter<BjBean, ItemTkBinding>(data) {
    override fun onBindViewHolder(holder: BaseBindingHolder, position: Int, item: BjBean?) {
        val binding = ItemTkBinding.bind(holder.itemView)
        binding.apply {
            tvName.text = item?.cate_name
            tvPrice.text = "￥" + item?.money
        }

    }


}